package com.movitech.mobile.cz.base.modules.activiti.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AProcessNodeConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AProcessNodeConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdIsNull() {
            addCriterion("process_config_id is null");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdIsNotNull() {
            addCriterion("process_config_id is not null");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdEqualTo(String value) {
            addCriterion("process_config_id =", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdNotEqualTo(String value) {
            addCriterion("process_config_id <>", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdGreaterThan(String value) {
            addCriterion("process_config_id >", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdGreaterThanOrEqualTo(String value) {
            addCriterion("process_config_id >=", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdLessThan(String value) {
            addCriterion("process_config_id <", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdLessThanOrEqualTo(String value) {
            addCriterion("process_config_id <=", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdLike(String value) {
            addCriterion("process_config_id like", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdNotLike(String value) {
            addCriterion("process_config_id not like", value, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdIn(List<String> values) {
            addCriterion("process_config_id in", values, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdNotIn(List<String> values) {
            addCriterion("process_config_id not in", values, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdBetween(String value1, String value2) {
            addCriterion("process_config_id between", value1, value2, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andProcessConfigIdNotBetween(String value1, String value2) {
            addCriterion("process_config_id not between", value1, value2, "processConfigId");
            return (Criteria) this;
        }

        public Criteria andNodeTypeIsNull() {
            addCriterion("node_type is null");
            return (Criteria) this;
        }

        public Criteria andNodeTypeIsNotNull() {
            addCriterion("node_type is not null");
            return (Criteria) this;
        }

        public Criteria andNodeTypeEqualTo(Integer value) {
            addCriterion("node_type =", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotEqualTo(Integer value) {
            addCriterion("node_type <>", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeGreaterThan(Integer value) {
            addCriterion("node_type >", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("node_type >=", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeLessThan(Integer value) {
            addCriterion("node_type <", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeLessThanOrEqualTo(Integer value) {
            addCriterion("node_type <=", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeIn(List<Integer> values) {
            addCriterion("node_type in", values, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotIn(List<Integer> values) {
            addCriterion("node_type not in", values, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeBetween(Integer value1, Integer value2) {
            addCriterion("node_type between", value1, value2, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("node_type not between", value1, value2, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeKeyIsNull() {
            addCriterion("node_key is null");
            return (Criteria) this;
        }

        public Criteria andNodeKeyIsNotNull() {
            addCriterion("node_key is not null");
            return (Criteria) this;
        }

        public Criteria andNodeKeyEqualTo(String value) {
            addCriterion("node_key =", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyNotEqualTo(String value) {
            addCriterion("node_key <>", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyGreaterThan(String value) {
            addCriterion("node_key >", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyGreaterThanOrEqualTo(String value) {
            addCriterion("node_key >=", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyLessThan(String value) {
            addCriterion("node_key <", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyLessThanOrEqualTo(String value) {
            addCriterion("node_key <=", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyLike(String value) {
            addCriterion("node_key like", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyNotLike(String value) {
            addCriterion("node_key not like", value, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyIn(List<String> values) {
            addCriterion("node_key in", values, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyNotIn(List<String> values) {
            addCriterion("node_key not in", values, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyBetween(String value1, String value2) {
            addCriterion("node_key between", value1, value2, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeKeyNotBetween(String value1, String value2) {
            addCriterion("node_key not between", value1, value2, "nodeKey");
            return (Criteria) this;
        }

        public Criteria andNodeNameIsNull() {
            addCriterion("node_name is null");
            return (Criteria) this;
        }

        public Criteria andNodeNameIsNotNull() {
            addCriterion("node_name is not null");
            return (Criteria) this;
        }

        public Criteria andNodeNameEqualTo(String value) {
            addCriterion("node_name =", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotEqualTo(String value) {
            addCriterion("node_name <>", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameGreaterThan(String value) {
            addCriterion("node_name >", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameGreaterThanOrEqualTo(String value) {
            addCriterion("node_name >=", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameLessThan(String value) {
            addCriterion("node_name <", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameLessThanOrEqualTo(String value) {
            addCriterion("node_name <=", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameLike(String value) {
            addCriterion("node_name like", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotLike(String value) {
            addCriterion("node_name not like", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameIn(List<String> values) {
            addCriterion("node_name in", values, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotIn(List<String> values) {
            addCriterion("node_name not in", values, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameBetween(String value1, String value2) {
            addCriterion("node_name between", value1, value2, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotBetween(String value1, String value2) {
            addCriterion("node_name not between", value1, value2, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeIsNull() {
            addCriterion("node_user_groups_type is null");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeIsNotNull() {
            addCriterion("node_user_groups_type is not null");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeEqualTo(Integer value) {
            addCriterion("node_user_groups_type =", value, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeNotEqualTo(Integer value) {
            addCriterion("node_user_groups_type <>", value, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeGreaterThan(Integer value) {
            addCriterion("node_user_groups_type >", value, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("node_user_groups_type >=", value, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeLessThan(Integer value) {
            addCriterion("node_user_groups_type <", value, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeLessThanOrEqualTo(Integer value) {
            addCriterion("node_user_groups_type <=", value, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeIn(List<Integer> values) {
            addCriterion("node_user_groups_type in", values, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeNotIn(List<Integer> values) {
            addCriterion("node_user_groups_type not in", values, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeBetween(Integer value1, Integer value2) {
            addCriterion("node_user_groups_type between", value1, value2, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("node_user_groups_type not between", value1, value2, "nodeUserGroupsType");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsIsNull() {
            addCriterion("node_user_groups is null");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsIsNotNull() {
            addCriterion("node_user_groups is not null");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsEqualTo(String value) {
            addCriterion("node_user_groups =", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsNotEqualTo(String value) {
            addCriterion("node_user_groups <>", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsGreaterThan(String value) {
            addCriterion("node_user_groups >", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsGreaterThanOrEqualTo(String value) {
            addCriterion("node_user_groups >=", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsLessThan(String value) {
            addCriterion("node_user_groups <", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsLessThanOrEqualTo(String value) {
            addCriterion("node_user_groups <=", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsLike(String value) {
            addCriterion("node_user_groups like", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsNotLike(String value) {
            addCriterion("node_user_groups not like", value, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsIn(List<String> values) {
            addCriterion("node_user_groups in", values, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsNotIn(List<String> values) {
            addCriterion("node_user_groups not in", values, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsBetween(String value1, String value2) {
            addCriterion("node_user_groups between", value1, value2, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeUserGroupsNotBetween(String value1, String value2) {
            addCriterion("node_user_groups not between", value1, value2, "nodeUserGroups");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlIsNull() {
            addCriterion("node_edit_url is null");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlIsNotNull() {
            addCriterion("node_edit_url is not null");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlEqualTo(String value) {
            addCriterion("node_edit_url =", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlNotEqualTo(String value) {
            addCriterion("node_edit_url <>", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlGreaterThan(String value) {
            addCriterion("node_edit_url >", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlGreaterThanOrEqualTo(String value) {
            addCriterion("node_edit_url >=", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlLessThan(String value) {
            addCriterion("node_edit_url <", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlLessThanOrEqualTo(String value) {
            addCriterion("node_edit_url <=", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlLike(String value) {
            addCriterion("node_edit_url like", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlNotLike(String value) {
            addCriterion("node_edit_url not like", value, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlIn(List<String> values) {
            addCriterion("node_edit_url in", values, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlNotIn(List<String> values) {
            addCriterion("node_edit_url not in", values, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlBetween(String value1, String value2) {
            addCriterion("node_edit_url between", value1, value2, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeEditUrlNotBetween(String value1, String value2) {
            addCriterion("node_edit_url not between", value1, value2, "nodeEditUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlIsNull() {
            addCriterion("node_detail_url is null");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlIsNotNull() {
            addCriterion("node_detail_url is not null");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlEqualTo(String value) {
            addCriterion("node_detail_url =", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlNotEqualTo(String value) {
            addCriterion("node_detail_url <>", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlGreaterThan(String value) {
            addCriterion("node_detail_url >", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlGreaterThanOrEqualTo(String value) {
            addCriterion("node_detail_url >=", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlLessThan(String value) {
            addCriterion("node_detail_url <", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlLessThanOrEqualTo(String value) {
            addCriterion("node_detail_url <=", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlLike(String value) {
            addCriterion("node_detail_url like", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlNotLike(String value) {
            addCriterion("node_detail_url not like", value, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlIn(List<String> values) {
            addCriterion("node_detail_url in", values, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlNotIn(List<String> values) {
            addCriterion("node_detail_url not in", values, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlBetween(String value1, String value2) {
            addCriterion("node_detail_url between", value1, value2, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeDetailUrlNotBetween(String value1, String value2) {
            addCriterion("node_detail_url not between", value1, value2, "nodeDetailUrl");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagIsNull() {
            addCriterion("node_countsign_flag is null");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagIsNotNull() {
            addCriterion("node_countsign_flag is not null");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagEqualTo(Integer value) {
            addCriterion("node_countsign_flag =", value, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagNotEqualTo(Integer value) {
            addCriterion("node_countsign_flag <>", value, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagGreaterThan(Integer value) {
            addCriterion("node_countsign_flag >", value, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("node_countsign_flag >=", value, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagLessThan(Integer value) {
            addCriterion("node_countsign_flag <", value, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagLessThanOrEqualTo(Integer value) {
            addCriterion("node_countsign_flag <=", value, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagIn(List<Integer> values) {
            addCriterion("node_countsign_flag in", values, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagNotIn(List<Integer> values) {
            addCriterion("node_countsign_flag not in", values, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagBetween(Integer value1, Integer value2) {
            addCriterion("node_countsign_flag between", value1, value2, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeCountsignFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("node_countsign_flag not between", value1, value2, "nodeCountsignFlag");
            return (Criteria) this;
        }

        public Criteria andNodeSortIsNull() {
            addCriterion("node_sort is null");
            return (Criteria) this;
        }

        public Criteria andNodeSortIsNotNull() {
            addCriterion("node_sort is not null");
            return (Criteria) this;
        }

        public Criteria andNodeSortEqualTo(Integer value) {
            addCriterion("node_sort =", value, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortNotEqualTo(Integer value) {
            addCriterion("node_sort <>", value, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortGreaterThan(Integer value) {
            addCriterion("node_sort >", value, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("node_sort >=", value, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortLessThan(Integer value) {
            addCriterion("node_sort <", value, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortLessThanOrEqualTo(Integer value) {
            addCriterion("node_sort <=", value, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortIn(List<Integer> values) {
            addCriterion("node_sort in", values, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortNotIn(List<Integer> values) {
            addCriterion("node_sort not in", values, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortBetween(Integer value1, Integer value2) {
            addCriterion("node_sort between", value1, value2, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andNodeSortNotBetween(Integer value1, Integer value2) {
            addCriterion("node_sort not between", value1, value2, "nodeSort");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Integer value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Integer value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Integer value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Integer value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Integer value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Integer> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Integer> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Integer value1, Integer value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}